<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery.min-2.1.4.js"></script>
    <script type="application/javascript">
        (function ($) {
            var settings = {
                h:111,
                w:222
            }
            var defaults = {
                init:function () {
                    
                }
            }
            $.tool = function (options) {
                var opt = $.extend({}, settings,options);
            }
            $.extend({aa:function () {
                return 22;
            }})
        })(jQuery)
        $(function () {
            alert($.aa());
        })
    </script>
</head>
<body>

</body>
</html>